package com.sztx.pay.center.core.service.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class ActPOJO extends ActRsp implements Serializable {
	private int ownerId;
	private String remark;
	private String innerRemark;
	private long modifyCount;

	public ActPOJO() {

	}

	public int getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(int ownerId) {
		this.ownerId = ownerId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getInnerRemark() {
		return innerRemark;
	}

	public void setInnerRemark(String innerRemark) {
		this.innerRemark = innerRemark;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((innerRemark == null) ? 0 : innerRemark.hashCode());
		result = prime * result + (int) (modifyCount ^ (modifyCount >>> 32));
		result = prime * result + ownerId;
		result = prime * result + ((remark == null) ? 0 : remark.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		ActPOJO other = (ActPOJO) obj;
		if (innerRemark == null) {
			if (other.innerRemark != null)
				return false;
		} else if (!innerRemark.equals(other.innerRemark))
			return false;
		if (modifyCount != other.modifyCount)
			return false;
		if (ownerId != other.ownerId)
			return false;
		if (remark == null) {
			if (other.remark != null)
				return false;
		} else if (!remark.equals(other.remark))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "ActPOJO [ownerId=" + ownerId + ", remark=" + remark
				+ ", innerRemark=" + innerRemark + ", modifyCount="
				+ modifyCount + "]";
	}

	public long getModifyCount() {
		return modifyCount;
	}

	public void setModifyCount(long modifyCount) {
		this.modifyCount = modifyCount;
	}

}
